package com.liu.lsm.livestock.mapper;

import com.liu.lsm.livestock.entity.Livestock;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface LivestockMapper {
    int deleteById(Integer id);
    int insert(Livestock livestock);
    Livestock selectById(Integer id);
    int updateById(Livestock livestock);
    //根据条件查询
    List<Livestock> listAll(Livestock livestock);
}

